package com.jchen.biz.controller;

import com.jchen.biz.service.FeignTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author jchen
 * @Date 2023/12/6 16:41
 */
@RestController
@RequestMapping("/feign")
public class FeignController {

    @Autowired
    private FeignTestService feignTestService;

    @GetMapping("/testFeiApi")
    public String testFeiApi(String userId){
        return feignTestService.testFeiApi(userId);
    }
}
